home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / hdos15.zip / README.DOC < prev    next >
Text File  |  1992-09-24  |  24KB  |  537 lines

  1.   ════════════════════════════════════════════════════════════════════════════
  2.                     The 'HandyDOS' Utilities - (C) 1992
  3.                             All Rights Reserved.
  4.   ════════════════════════════════════════════════════════════════════════════
  5.        Abri Technologies, Inc., HCR62 Box 100K, Cacapon, WV 25422 USA
  6.   ════════════════════════════════════════════════════════════════════════════
  7.                              ┌───────┐
  8.                         ┌────┴──┐    │               (Tm)
  9.                       ──┤       │o   ├───────────────────
  10.                         │  ┌────┴──┐ │  Association of
  11.                         │  │       ├─┘  Shareware
  12.                         └──┤   o   │    Professionals
  13.                       ─────┤   ╥   ├────────────────────-
  14.                            └───╨───┘    MEMBER
  15.  
  16.  
  17. 1.0  SHAREWARE INFORMATION:
  18.      
  19.      This software was written under the shareware concept. Try it free for 
  20.      30 days. If you find it useful please register. Registration is only 
  21.      $25 for all the utilities. Registrations make it possible for authors 
  22.      to continue giving you and your children the benefits of the shareware 
  23.      concept. "Don't starve the goose that lays the golden egg".
  24.  
  25.      When you register you will receive all updates, additions and latest 
  26.      corrections and software support for a minimum of three months. We 
  27.      strive to continually improve the current utilities and to add handy 
  28.      new ones, so it will be worth your while to register. Suggestions for 
  29.      "HandyDOS" additions are welcome. 
  30.  
  31.      Please pass this software on to your friends and associates.
  32.      
  33.      ** Please read the shareware agreement near end of this file and the
  34.      Registration/Ordering form in file REGISTER which also contains
  35.      information on other software available from ATI.
  36.      
  37. 2.0  INTRODUCTION: (Version 1.5)
  38.      HandyDOS resulted from a need for several handy utilities which are 
  39.      absent in DOS. One purpose was to improve users' time efficiency and 
  40.      disk use without nonessential frills frequenting multipurpose menu 
  41.      programs - often requiring several steps for a simple task.
  42.  
  43.      Version 1.5 adds three new handy utilities to aid in professional 
  44.      batch programming and makes minor improvements in the others. The 
  45.      author has found no comparable collection of utilities of this quality 
  46.      for the $25 registration.
  47.  
  48. 3.0  COMPUTER REQUIREMENTS: 
  49.      The software uses little memory and should run on any DOS 2.1 and up.
  50.  
  51. 4.0  FILES INCLUDED: 
  52.  
  53.      INSTALL.BAT  README.DOC (this file)  REGISTER
  54.  
  55.      0.EXE     MV.EXE    VMODE.EXE   INPUT.EXE   DELTREE.EXE   WINDOW.EXE
  56.      D.EXE     BAK.EXE   ATTRB.EXE   ECH.EXE     PRINTAT.EXE   TIMETONE.EXE
  57.  
  58. 5.0  INSTALLATION:
  59.      All programs will work standalone on floppy or hard drive - except 
  60.      D.EXE which is designed mainly for hard drive use.  You can use the 
  61.      INSTALL program to install the software in the C:\HANDYDOS directory 
  62.      of your hard drive. Use your editor or word processor to place the 
  63.      HandyDOS software directory the DOS path statement in the AUTOEXEC.BAT 
  64.      file. The line should look something like
  65.  
  66.      PATH C:\DOS;C:\HANDYDOS;
  67.  
  68. 6.0  DESCRIPTION OF PROGRAMS:
  69.      NOTE: All programs will give USAGE summary information with the
  70.      /? switch, as is common for DOS 5.0.
  71.                                                     
  72.      Section 6.1 describes disk and file utilities. The D.EXE in-DOS-menu
  73.      and directory utility is described in section 6.2. Video utility 
  74.      VMODE.EXE is under section 6.3, while the batch utilities are 
  75.      described in section 6.4.
  76.  
  77. 6.1 Disk and File Utilities.
  78.  
  79. ATTRB.EXE
  80.      This program is meant to replace the awkward dos ATTRIB utility.
  81.      It is an easy-to-use WYSIWYG full-screen utility for changing file
  82.      attributes - to/from ReadOnly, Hidden, System and Archive modes (RHSA).
  83.      
  84.      USAGE:   ATTRB [FileSpec]
  85.      
  86.      FileSpec can be general like *.* or a specific filename. If not given
  87.      the default FileSpec is *.*. To change FileSpec on screen press the
  88.       key when  appears beside "Files spec:" and then type in new file 
  89.      spec.
  90.  
  91.      The R, H, S or A attributes for a highlighted file are changed simply 
  92.      by pressing one of the RHSA keys. Pressing the Alt key and one of the 
  93.      RHSA at same time changes attributes for all files specified - except 
  94.      directories, which can only be changed individually.
  95.  
  96. BAK.EXE and 0.EXE
  97.      These programs can delete all .BAK extension and zero length files
  98.      in a directory and all subdirectories. They are about as fast as the DOS5
  99.      "DIR *.BAK /S" is in finding the files.
  100.  
  101.      BAK USAGE:       bak [directory] [/S]
  102.      
  103.      0 USAGE:         0 [directory] [/S]
  104.  
  105.      If /S is used, all subdirectories are searched.
  106.           
  107.      [directory] can be omitted for current directory.
  108.      
  109. MV.EXE
  110.      This versatile utility can rename or move any file or directory to
  111.      anywhere else on the disc.     
  112.      USAGE:        MV OldPath NewPath [/O]
  113.      
  114.      OldPath can have wild card '*' chars for file transfer only.
  115.      
  116.      Switch /O will overwrite existing NewPath files/directories.
  117.  
  118.      NOTES: (I) A directory cannot be moved into its subdirectory. (II) 
  119.      MV does not transfer directories from one drive to another - for that
  120.      use XCOPY /S and DELTREE (included here).
  121.  
  122.      CAUTION: Be careful when using *.* on a root directory with system
  123.      files. For example "MV \*.* Newpath" will also move the hidden system
  124.      files IO.SYS and MSDOS.SYS to Newpath and you may not be able to boot
  125.      from that disk.
  126.  
  127. DELTREE.EXE
  128.      This program deletes any directory with its subdirectories and all
  129.      files. 
  130.      
  131.      USAGE:     DELTREE directory
  132.      
  133.      Any valid directory can be specified. If the current directory is 
  134.      specified it will be deleted and the next upper directory will become 
  135.      the current directory.
  136.      
  137.      NOTE: Before deleting directories on floppies, it will save time if the 
  138.      DOS verify is OFF, since each deletion has to be read verified if
  139.      verify is ON. On hard drives the delay is less noticeable.
  140.  
  141.      Some uses of Deltree:
  142.    * handy for cleaning up the drive of stale software or moving
  143.      it to another drive in conjunction with the XCOPY /S command.
  144.    * an alternative to formatting a floppy to erase all the files/directories. 
  145.    * deleting old backup files on floppies.
  146.    * defragmenting a hard drive without reformatting. After backing up all
  147.      your disk files use deltree (example: deltree c:\) to delete all files
  148.      and then RESTORE the files back on the drive.
  149.      
  150. 6.2 D.EXE - Program Menu Substitute and Directory Utility.
  151.      You will find this utility a real time saver. With a simple number 
  152.      reference (0-99) you can find your way around DOS drives/directories 
  153.      and execute programs without complicated menu software. 
  154.      
  155.      USAGE:            ACTION:
  156.      
  157.       D +# [program]   Sets jump point # to current drive and directory with 
  158.                          optional [program] execution.
  159.       D # [program]    Jumps to directory # and optionally executes [program]
  160.       D -#             Deletes jump point # from list
  161.       D                Lists jump points
  162.  
  163.              # is any number 0 to 99
  164.  
  165.      EXAMPLES:
  166.      
  167.      d +9               adds the current directory as #9 on the jump list.
  168.      
  169.      D +12 GWBASIC MENU   (adds current directory as #12 to jump list with
  170.                                    GWBASIC to execute MENU.BAS program.)
  171.      
  172.      D 12               (will jump to directory associated with #12 on list
  173.                                 and execute GWBASIC MENU combination)
  174.      
  175.      d 9                (will jump to directory associated with #9 on list)
  176.      
  177.      D -12              (will remove directory/program reference from list)
  178.      
  179.      Some Uses of D:
  180.    * It can be used by different users to "logon" their directories and/or 
  181.      start programs. 
  182.    * Frequently, PC users will add the command "CD directory" to the 
  183.      AUTOEXEC.BAT file to go to a particular directory at boot up. This can 
  184.      be now changed to "D #", the # representing a directory (and optional 
  185.      program execution) on the jump list. Subsequent changes can be simply 
  186.      done using D +# [program] without editing the AUTOEXEC.BAT file. 
  187.    * The program execution feature can be a substitute for DOS menu 
  188.      programs. When the optional program is specified for execution, the D 
  189.      program releases all DOS memory to that program (except about 3k for
  190.      batch programs).
  191.      
  192.      Notes: 
  193.         The first time D is executed it establishes an ASCII jump list
  194.         file "D.DDD" in the same directory as D.EXE".
  195.         
  196.         Some packed programs (Example: QBASIC) may not execute when called 
  197.         directly by D.EXE. If you find this to be true you can get around 
  198.         this by prefixing the program name with the command.com pathname 
  199.         and the /C switch. Example: "D +23 C:\COMMAND /C QBASIC" instead of 
  200.         "D +23 QBASIC".
  201.      
  202. 6.3 VMODE.EXE - Video Display Setting and Testing Utility.
  203.  
  204.      This versatile program can set or find the current video mode and 
  205.      graphics capabilities of the video card and change the cursor type - 
  206.      all in one package.
  207.      
  208.      The program is handy for laptop users to get the large █ block cursor 
  209.      and find the best video text mode for greatest contrast. For example, 
  210.      The Leading Edge DLT/386SX default is 3, but the best contrast is with 
  211.      video mode number 7. Thus an AUTOEXEC.BAT command "VMODE -7" will set
  212.      the block cursor and best contrast at bootup.
  213.  
  214.      USAGE:              COMMENTS:
  215.  
  216.      VMODE              to display current video mode
  217.      VMODE [-]#         to set video mode # [and get █ cursor]
  218.      VMODE /A           to display all video mode #'s
  219.      
  220.      Notes: The █ is available only for text modes. Some software will
  221.               change to default "_" DOS cursor when exiting.
  222.             VMODE returns DOS errorlevel 1 with an error message and 0
  223.               otherwise.
  224.  
  225. 6.4 Batch Utilities
  226.  
  227.     These utilities will give you a relief from programming in C or other 
  228.     similar languages to achieve many tasks with simple batch files.
  229.         
  230.   INPUT.EXE
  231.  
  232.      Even DOS5 still does not facilitate direct batch menu selection. 
  233.      INPUT.EXE fixes this problem. It is much more powerful than similar 
  234.      utilities on the market, having the capability to select function keys 
  235.      and turn off the cursor in desired situations.
  236.      
  237.      USAGE:     INPUT [/CF] string1 string2 string3 .....
  238.      
  239.      The program gets keyboard input and returns to DOS the number (#) of 
  240.      the character string matching the input (i.e. returns 1 if string1 is 
  241.      same as the keyboard input, 2 if string2, etc.). A zero is returned if 
  242.      no match is found. The number returned is called the errorlevel - but 
  243.      is really not an error here. Upper/lower case character differences 
  244.      are ignored. 
  245.      
  246.      If switch F is used, only one character is accepted from the keyboard 
  247.      which is then compared to only the first character of each string. 
  248.      INPUT /F is a good substitute for the dos PAUSE command since it 
  249.      doesn't interrupt with 'Press any key to continue ...' or add an extra 
  250.      <CR><LF>.
  251.  
  252.      If switch C is used INPUT "hides" the cursor until after the character
  253.      or string is entered. This is handy for display screens where you
  254.      don't want the cursor to show.
  255.      
  256.      /F or /C or /CF or /FC are all acceptable but not "/F /C" or "/C /F"
  257.      in which case the second one will be regarded as one of the strings.
  258.      
  259.      Input also recognizes function keys with the F switch. This is very
  260.      useful for making professional batch menu programs. The function key
  261.      is indicated by preceding it with the \ slash and its keyboard 
  262.      symbol - example: 
  263.      
  264.      INPUT /F A C \F4 D X
  265.      
  266.      Not all variations of function keys are allowed. Acceptable forms are
  267.      
  268.      \F1 \F2 \F3 \F4 \F5 \F6 \F7 \F8 \F9 \F10 
  269.      \Esc \Home \End \PgUp \PgDn \Ins \Del
  270.      \Left \Right \Dn \Up  (for arrow keys)
  271.      
  272.   ECH.EXE
  273.  
  274.      USAGE:         ECH string
  275.      
  276.      This command is similar to the DOS echo but does not add a <CR><LF>
  277.      pair - i.e. it does not move the cursor to next line. This is
  278.      useful in batch menu programs when you want the cursor to stay beside
  279.      the "question".
  280.      
  281.      If the string has spaces ECH will reduce all spaces to a single
  282.      space. If you wish an exact string echo use quotation marks around
  283.      the whole string. Example:
  284.      
  285.      ECH "Do you wish to make a selection?      (y/n) "
  286.  
  287.   PRINTAT.EXE
  288.      
  289.      If you want more professional results in your batch files than with 
  290.      "echo" or "ech" now you can use the PRINTAT utility. It can position 
  291.      the cursor at any position of the screen and optionally print a 
  292.      message there using different colour or monochrome attributes 
  293.      (different background/foreground colour text, blinking or inverse 
  294.      video text, etc.).
  295.      
  296.      USAGE:     PRINTAT [/Cbfmm] row col [message]
  297.      
  298.      
  299.      Row (0 to 24) and col (0 to 79) are the row and columns where the 
  300.      cursor will be positioned, [message] is the optional text, and / Cbfmm 
  301.      is optional attribute setting for the text.
  302.      
  303.      To view the available text attributes, use the "PRINTAT /C" command.
  304.  
  305.      The attribute switch has two forms. The /Cfb will set the fb attribute 
  306.      regardless of the video mode, whereas the /Cfbmm form will select 
  307.      the fb text attribute for colour video mode and mm text mode for 
  308.      monochrome video modes depending on the video card and mode.
  309.  
  310.      Examples:
  311.      
  312.      "PRINTAT /Cca70 15 43 Enter Selection..."
  313.      
  314.      will print the message "Enter selection..." starting at row 15 and 
  315.      column 43 in reverse video for monochrome monitor mode and with red 
  316.      background and blinking white characters for colour monitor mode.
  317.      
  318.      "PRINTAT /C70 15 43 Enter Selection..."
  319.      
  320.      will have similar position results but will use text attribute 70 
  321.      whatever the video display happens to be - ok for personal use, but 
  322.      not always portable.
  323.      
  324.      "PRINTAT 15 43" simply positions the cursor at 15 43 screen position.
  325.      
  326.   TIMETONE
  327.      
  328.      On occasions in batch programs it is desirable to have a time delay for
  329.      the operator to view a screen message. Also, sometimes it is convenient
  330.      to alert them of a program event with a beep.
  331.      
  332.      TIMETONE incorporates both time delay and warning tones in a single 
  333.      package. We have gone a step further and incorporated the ability to 
  334.      play musical notes, with adjustable time delays between notes and 
  335.      duration of notes - why not have some fun too! The default time delay 
  336.      and note duration is .25 sec.
  337.      
  338.      USAGE:     TIMETONE [-DELAY].. [TONE(S)].. [duration].. [\] [/]
  339.      
  340.      where a negative number denotes the time delay, any other number the 
  341.      tone duration, the \ indicates lowering by one octave and / one octave 
  342.      higher, and the tones (notes) are denoted by letters C D E F G A B.
  343.      A "#" after a tone letter denotes a sharp and "-" denotes a flat.
  344.      
  345.      Examples:
  346.      
  347.      "TIMETONE -4.5"
  348.      will generate a time delay of 4.5 seconds before handing control to 
  349.      next batch program step (it will just sit there for 4.5 sec).
  350.      
  351.      "TIMETONE C"       will sound a .25 sec tone (middle C).
  352.  
  353.      "TIMETONE -.5 .5 C D E F G / -.1 .2 C D E- F# G"
  354.      will set the time delay between tones and the tone duration to .5 
  355.      seconds and play notes C D E F G. It will then raise by one octave, 
  356.      set the delay and duration to .1 sec and .2 sec and play notes C D 
  357.      Eflat Fsharp G.
  358.      
  359.      As shown above all the parts should be separated by spaces except the
  360.      notes which can be lumped together. The last example is equivalent to
  361.      "TIMETONE -.5 .5 CDEFG / -.1 .2 CDE-F#G".
  362.  
  363.   WINDOW.EXE
  364.  
  365.      This utility will give your batch programs a professional look. It can 
  366.      draw any window size with or w/o borders at any position on the screen.
  367.      It is excellent for batch menuing and creating pull-down menus in 
  368.      batch programs. Some text mode "animation" is also possible.
  369.  
  370.      USAGE 1:     WINDOW char attrib top bot left right
  371.      
  372.      Example: WINDOW * -1 5 20 10 69
  373.      
  374.      This example will draw a window on the screen with the "*" at the 
  375.      borders, using current screen attribute for "attrib", with window 
  376.      extending from screen line 5 down to 20 and from column 10 on the left 
  377.      to 69 on the right. (Screen lines number from 0 to 24 and columns from 
  378.      0 to 79.)
  379.  
  380.      Any character can be used for "char", even a space (use " ").
  381.      If you cannot type some characters like ║, just use its decimal
  382.      code (186 in this case) and precede it with a backslash - i.e.
  383.      WINDOW \186 -1 5 20 10 69. Check the ASCII "code-page tables" in
  384.      your DOS manual for character listings. Or you can experiment
  385.      with different \number values (max 255).
  386.      
  387.      The "attrib" determines the attribute (colour, blinking, etc.) of the 
  388.      window. You can view the attributes with the "PRINTAT /C" command. To 
  389.      to use the current attributes of the screen use -1. When attrib is in 
  390.      double form "bfmm", the automatic selection of attributes applies here 
  391.      just as in PRINTAT. For example "WINDOW * 1f70 5 20 10 69" will select
  392.      reverse video for monochrome video modes and a blue screen with
  393.      white characters for colour video text modes - very useful if your 
  394.      batch files may be used on different computers.
  395.      
  396.      USAGE 2:   WINDOW /SFileName top bot left right
  397.  
  398.      Example: WINDOW /SC:\TEMP\WINDOW1.IMG 5 20 10 69
  399.      
  400.      This will save the window you generated previously to the file 
  401.      C:\TEMP\XXXYYY.BAK for later use.
  402.  
  403.      USAGE 3:   WINDOW /RFileName
  404.      
  405.      Example: WINDOW /RWINDOW1.IMG
  406.      
  407.      This will restore the window image saved in the file WINDOW1.IMG.
  408.      
  409.      Hints:
  410.      
  411.      It may be a good idea to use .BAK extensions for temporary window save 
  412.      files. That way, if they pile up on your disc, you can easily clean 
  413.      them up with BAK.EXE utility.
  414.      
  415.      You can generate desired menu screens of your choice with a good 
  416.      editor (or word processor in ascii mode) and save the images with the 
  417.      WINDOW utility. A batch file "SAVE.BAT" to save such a text file for 
  418.      later screen display use, would be
  419.  
  420.      ---------------------
  421.      @echo off
  422.      TYPE %1
  423.      WINDOW /S%2 0 24 0 79
  424.      INPUT /F
  425.      ---------------------
  426.      
  427.      If you edited your desired screen display in file DISPL.TXT you
  428.      can save it into (for example) WINDOW10.IMG with the command
  429.      
  430.      SAVE DISPL.TXT WINDOW10.IMG
  431.  
  432. 6.4.1 General Sample Batch file
  433.  
  434.      A sample batch file program using several of these utilities is listed
  435.      below. Note the sequence of the errorlevel tests - see DOS manual for
  436.      further info.
  437.  
  438.      ----------------------------------------
  439.      @echo off
  440.      rem    save original screen
  441.      window /SC:\TEMP\XXXYYY.BAK 0 24 0 79
  442.      :programs
  443.      cls
  444.      rem    display message window
  445.      window \186 -1 0 24 0 79
  446.      window \186 -1 5 19 10 69
  447.      printat 8  30 A Word Processing
  448.      printat 10 30 B Invoicing
  449.      printat 12 30 C Communication
  450.      printat 14 30 D Exit to DOS
  451.      printat /c8f 21 28 Press choice letter...
  452.      input /cf a b c d
  453.      if errorlevel 4 goto end
  454.      if errorlevel 3 goto C
  455.      if errorlevel 2 goto B
  456.      if errorlevel 1 goto A
  457.      goto programs     
  458.      :A 
  459.      C:
  460.      cd \WS
  461.      WS
  462.      goto programs
  463.      :B
  464.      C:
  465.      cd \BUS
  466.      INVCX5
  467.      goto programs
  468.      :C
  469.      C:
  470.      cd \USR\COM
  471.      TELIX
  472.      goto programs
  473.      :end
  474.      rem     restore original screen
  475.      window /GC:\TEMP\XXXYYY.BAK
  476.      del c:\XXXYYY.BAK
  477.      rem     place cursor at bottom
  478.      printat 24 0
  479.      ----------------------------------------
  480.      
  481. 7.0  Custom Programming Info.
  482.  
  483.      If you or your company have specific custom programming needs including
  484.      hardware/software interaction, please drop a note to the author
  485.      
  486.      Attn: Paul Lee
  487.      Abri Technologies, Inc.
  488.      HC 62, Box 100K
  489.      Great Cacapon, WV 25422
  490.      
  491.      or leave a message at CompuServe 72345,1623. DISCLAIMER and SHAREWARE - AGREEMENT:
  492.      Users of HandyDOS must accept this disclaimer of warranty: HandyDOS is 
  493.      supplied as is.  The author disclaims all warranties, expressed or 
  494.      implied, including, without limitation, the warranties of 
  495.      merchantability and of fitness for any purpose. The author assumes no 
  496.      liability for damages, direct or consequential, which may result 
  497.      from the use of HandyDOS."
  498.  
  499.      HandyDOS is a "shareware software" and is provided at no charge to the 
  500.      user for evaluation.  Feel free to share it with your friends, but 
  501.      please do not give it away altered or as part of another system.  The 
  502.      essence of "user-supported" software is to provide personal computer 
  503.      users with quality software without high prices, and yet to provide 
  504.      incentive for programmers to continue to develop new products.  If you 
  505.      find this program useful and find that you are using HandyDOS and 
  506.      continue to use HandyDOS after a reasonable trial period, you must 
  507.      make a registration payment of $25 to Abri Technologies.  The $25 
  508.      registration fee will license one copy for use on any one computer at 
  509.      any one time.  You must treat this software just like a book.  An 
  510.      example is that this software may be used by any number of people and 
  511.      may be freely moved from one computer location to another, so long as 
  512.      there is no possibility of it being used at one location while it's 
  513.      being used at another. Just as a book is not read by two different 
  514.      persons at the same time.
  515.  
  516.      Commercial users of HandyDOS must register and pay for their copies of 
  517.      HandyDOS within 30 days of first use or their license is withdrawn.  
  518.      Site-License arrangements may be made by contacting Abri Technologies.
  519.  
  520.      You are encouraged to pass a copy of HandyDOS along to your friends 
  521.      for evaluation.  Please encourage them to register their copy if they 
  522.      find that they can use it.  All registered users will receive a copy 
  523.      of the latest version of HandyDOS and software support for a minimum
  524.      of three months after registration.
  525.      
  526.      For registration and software ordering view the 'REGISTER' file.
  527.  
  528.     "This program is produced by a member of the Association of Shareware
  529.     Professionals (ASP).  ASP wants to make sure that the shareware
  530.     principle works for you. If you are unable to resolve a
  531.     shareware-related problem with an ASP member by contacting the member
  532.     directly, ASP may be able to help. The ASP Ombudsman can help you
  533.     resolve a dispute or problem with an ASP member, but does not provide
  534.     technical support for members' products.  Please write to the ASP
  535.     Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a CompuServe
  536.     message via CompuServe Mail to ASP Ombudsman 70007,3536."
  537.